package com.sailfish.springbootdemo.pojo.db1;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sailfish.springbootdemo.pojo.db4.User;

import java.util.Date;

public class UpkeepHistory {
    private Integer upkeepHistoryId;
    private String assetNumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dueUpkeepTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actualUpkeepTime;
    private Integer ownerId;
    private Integer upkeepType;
    private String upkeepNotes;
    private Integer isCurrent;
    private String auditNotes;
    private User owner;
    private Integer submitter;
    private String auditors;

    private PcbaDevice pcbaDevice;

    public Integer getUpkeepHistoryId() {
        return upkeepHistoryId;
    }

    public void setUpkeepHistoryId(Integer upkeepHistoryId) {
        this.upkeepHistoryId = upkeepHistoryId;
    }

    public String getAssetNumber() {
        return assetNumber;
    }

    public void setAssetNumber(String assetNumber) {
        this.assetNumber = assetNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getDueUpkeepTime() {
        return dueUpkeepTime;
    }

    public void setDueUpkeepTime(Date dueUpkeepTime) {
        this.dueUpkeepTime = dueUpkeepTime;
    }

    public Date getActualUpkeepTime() {
        return actualUpkeepTime;
    }

    public void setActualUpkeepTime(Date actualUpkeepTime) {
        this.actualUpkeepTime = actualUpkeepTime;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public Integer getUpkeepType() {
        return upkeepType;
    }

    public void setUpkeepType(Integer upkeepType) {
        this.upkeepType = upkeepType;
    }

    public String getUpkeepNotes() {
        return upkeepNotes;
    }

    public void setUpkeepNotes(String upkeepNotes) {
        this.upkeepNotes = upkeepNotes;
    }

    public Integer getIsCurrent() {
        return isCurrent;
    }

    public void setIsCurrent(Integer isCurrent) {
        this.isCurrent = isCurrent;
    }

    public PcbaDevice getPcbaDevice() {
        return pcbaDevice;
    }

    public void setPcbaDevice(PcbaDevice pcbaDevice) {
        this.pcbaDevice = pcbaDevice;
    }

    public String getAuditNotes() {
        return auditNotes;
    }

    public void setAuditNotes(String auditNotes) {
        this.auditNotes = auditNotes;
    }

    public User getOwner() {
        return owner;
    }

    public void setOwner(User owner) {
        this.owner = owner;
    }

    public Integer getSubmitter() {
        return submitter;
    }

    public void setSubmitter(Integer submitter) {
        this.submitter = submitter;
    }

    public String getAuditors() {
        return auditors;
    }

    public void setAuditors(String auditors) {
        this.auditors = auditors;
    }
}
